import 'package:json_annotation/json_annotation.dart';
part 'info_bean.g.dart';

@JsonSerializable()
class InfoBean {
  int secDai;
  int dayCount;
  int schDai;
  int coaCount;
  int vehDai;
  int vehCount;
  int yearCount;
  int schCount;
  int schTiregionDai;
  int monthCount;
  int coaDai;
  int exaDai;

  InfoBean(
      {this.secDai,
      this.dayCount,
      this.schDai,
      this.coaCount,
      this.vehDai,
      this.vehCount,
      this.yearCount,
      this.schCount,
      this.schTiregionDai,
      this.monthCount,
      this.coaDai,
      this.exaDai});

  InfoBean.fromJson(Map<String, dynamic> json) {
    this.secDai = json['secDai'];
    this.dayCount = json['dayCount'];
    this.schDai = json['schDai'];
    this.coaCount = json['coaCount'];
    this.vehDai = json['vehDai'];
    this.vehCount = json['vehCount'];
    this.yearCount = json['yearCount'];
    this.schCount = json['schCount'];
    this.schTiregionDai = json['schTiregionDai'];
    this.monthCount = json['monthCount'];
    this.coaDai = json['coaDai'];
    this.exaDai = json['exaDai'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['secDai'] = this.secDai;
    data['dayCount'] = this.dayCount;
    data['schDai'] = this.schDai;
    data['coaCount'] = this.coaCount;
    data['vehDai'] = this.vehDai;
    data['vehCount'] = this.vehCount;
    data['yearCount'] = this.yearCount;
    data['schCount'] = this.schCount;
    data['schTiregionDai'] = this.schTiregionDai;
    data['monthCount'] = this.monthCount;
    data['coaDai'] = this.coaDai;
    data['exaDai'] = this.exaDai;
    return data;
  }
}
